Skip to content

Add MEV detection traps (general + sandwich) with response and config#28

Open
ypszn wants to merge 1 commit intodrosera-network:mainfrom
ypszn:feat/mev-detection-trap
Open

Add MEV detection traps (general + sandwich) with response and config#28
ypszn wants to merge 1 commit intodrosera-network:mainfrom
ypszn:feat/mev-detection-trap

Conversation

@ypszn
Copy link

@ypszn ypszn commented Aug 26, 2025

Provides two traps:

  1. MEVDetectionTrap.sol: general detection (sandwich, arbitrage, MEV bot activity, suspicious patterns)
  2. SandwichAttackTrap.sol: specialized sandwich-attack pattern recognition

Notes:

  1. Addresses in SandwichAttackTrap constructor are example mainnet pairs; update as needed
  2. Response functions are no-op encodes for demo purposes; integrate real actions as needed
  3. Thresholds are configurable and can be tuned per use case

…ndwich) with response, tests, config, and deploy script
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant